package com.auqaoasis.operator;

import com.auqaoasis.exception.DbException;
import com.auqaoasis.model.row.Row;

import java.util.NoSuchElementException;

/**
 * @Author Auqaoasis
 * @Date 2022/3/31 - 19:36
 * @Description: 表迭代器接口
 */
public interface ITableFileIterator {

    void open() throws DbException;

    boolean hasNext() throws DbException;

    Row next() throws DbException, NoSuchElementException;

    void close();
}
